package com.stoken.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
public class TravelLeaveReply implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY) 
	private long id;
	
//	@ManyToOne
//	@JoinColumn(name="leave_topic",nullable=false)
//	private TravelLeaveMessage leaveTopic;
	
	@Temporal(TemporalType.TIMESTAMP)
	private Date replyTime;

	private String replyContent;
	
	private String leaveSpare;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Date getReplyTime() {
		return replyTime;
	}

	public void setReplyTime(Date replyTime) {
		this.replyTime = replyTime;
	}

	public String getReplyContent() {
		return replyContent;
	}

	public void setReplyContent(String replyContent) {
		this.replyContent = replyContent;
	}

	public String getLeaveSpare() {
		return leaveSpare;
	}

	public void setLeaveSpare(String leaveSpare) {
		this.leaveSpare = leaveSpare;
	}
	
	
}
